{% for flashMessage in app.session.flashbag.get('alerta') %} 
  <div style="margin-top:10px;" class="col-md-8 col-md-offset-2 alert alert-warning"> 
    <a href="#" class="close" data-dismiss="alert">&times;</a>
    {{ flashMessage }} 
    </div>
{% endfor %}

{% for flashMessage in app.session.flashbag.get('exito') %} 
  <div style="margin-top:10px;" class="col-md-8 col-md-offset-2 alert alert-success"> 
    <a href="#" class="close" data-dismiss="alert">&times;</a>
    {{ flashMessage }} 
    </div>
{% endfor %}

{% for flashMessage in app.session.flashbag.get('error') %} 
  <div style="margin-top:10px;" class="col-md-8 col-md-offset-2 alert alert-danger"> 
    <a href="#" class="close" data-dismiss="alert">&times;</a>
    {{ flashMessage }} 
    </div>
{% endfor %}

{% for flashMessage in app.session.flashbag.get('info') %} 
  <div style="margin-top:10px;" class="col-md-8 col-md-offset-2 alert alert-info"> 
    <a href="#" class="close" data-dismiss="alert">&times;</a>
    {{ flashMessage }} 
    </div>
{% endfor %}